﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace VM.Entity.EntityDto.EnTry
{
    [SugarTable("sys_dataBase")]
    public class getEntryTreeListDto
    {
        #region Model
        public int typeId { get; set; }
        public int id { get; set; }
        public string name { get; set; }

        [Navigate(NavigateType.OneToMany, nameof(getEntryListDto.typeId), nameof(id))]
        public List<getEntryListDto> children { get; set; }

        #endregion Model

    }
}
